package com.hangzhou.xyj.utils.constants;

import com.hangzhou.xyj.model.type.EPlayControlType;

/**
 * 常量
 * @author neo.duan
 *
 */
public class Constants {
	//项目名称
	public static final String PROJECT = "XYJ";
	//数据库名称
	public static final String DB_NAME = PROJECT + ".db";
	// 数据库版本
	public final static int DB_VERSION = 3;
	//每页请求15条数据
	public static final int PAGE_SIZE = 15;
	//是否debug模式
	public static boolean DEBUG = true;
	//戏曲播放状态，默认退出状态
	public static EPlayControlType PLAY_STATE = EPlayControlType.EXIT;
	//服务器地址
	private static int SERVER_PORT = 80;
	//服务器端口
	public static String API_URL = "http://app.zheliyouxi.com:" + SERVER_PORT + "/xiyouji";

	public interface AppId {
		//crash监控appId
		String BUGLY = "900014759";
	}


	/**
	 * 七牛图片缩略Size
	 */
	public interface ImageSize {
		//banner条
		String WH_170_170 = "?imageView2/1/w/1080/h/480/interlace/1";
		//戏台名家头像
		String STAGE_HEAD = "?imageView2/1/w/200/h/170/interlace/1";
		//头像
		String HEAD = "?imageView2/1/w/170/h/170/interlace/1";

	}


}
